<%--
  Created by IntelliJ IDEA.
  User: Pengpeng
  Date: 2017/5/27
  Time: 16:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>A paper on cloud</title>
    <link rel="stylesheet" href="resources/wangEditor/css/wangEditor.min.css"/>
    <link rel="stylesheet" href="resources/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="resources/css/app.css"/>
    <script type="text/javascript" src="resources/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="resources/wangEditor/js/wangEditor.min.js"></script>
    <script type="text/javascript" src="resources/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="resources/js/app.js"></script>
</head>
<body>
<div class="container">
    <div class="header"></div>
    <div class="content-container">
        <div id="contentArea" class="content-editor">
            ${content.content}
        </div>
    </div>
    <div class="footer">
        <div>
            <a class="btn btn-link" id="btnForPwd" data-toggle="modal" data-target="#pwdModal">Set Password
            </a>
        </div>
    </div>

    <div class="modal" role="dialog" id="pwdModal">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"
                            aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <h5 class="modal-title">Set Password</h5>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="pwdForm">
                        <div class="form-group form-group-sm">
                            <label class="col-sm-3 control-label">Password</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" id="pwd" required>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-sm btn-primary" id="submit">Submit</button>
                    <button type="button" class="btn btn-sm btn-default" data-dismiss="modal">Close</button>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
